#include"mystdio.h"
#include<string.h>

int main()
{
    MyFile *fp=MyFopen("./log.txt","a");
    if(!fp)
    {
        printf("fopen error\n");
        return 1;
    }
    
    char* msg = (char*)"hello mystdio!";
    MyFwrite(fp,msg,strlen(msg));

    MyFclose(fp);
    return 0;
}
